home *** CD-ROM | disk | FTP | other *** search
- #ifndef __MORPHER_HPP_
- #define __MORPHER_HPP_
- #include "supmorph.hpp"
- #include "config.hpp"
-
- extern int morph_detail;
-
- class view;
-
- class game_object;
-
- class morph_char
- {
- long cx,dcx,cy,dcy; // center of gravity
- smorph_player *mor;
- int end_type,fleft;
- public :
- morph_char(game_object *who, int to_type, void (*stat_fun)(int), int anneal, int frames);
- void draw(game_object *who, view *v);
- int frames_left() { return fleft; }
- virtual ~morph_char() { if (mor) delete mor; }
- } ;
-
-
- #endif
-
-
-